﻿#pragma once
#include "InputStream.h"

namespace yzrilyzr_io{
	ECLASS(FilterInputStream, public InputStream){
	protected:
	InputStream * input=nullptr;
	public:
	FilterInputStream(InputStream & s);
	~FilterInputStream();
	int32_t read() override;
	u_index read(yzrilyzr_array::ByteArray & buf, u_index off, u_index len) override;
	void close() override;
	u_index available() override;
	};
}